<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .nav a{
            display: block;
            width: 200px;
            height: 80px;
            background-color: #3064bb;
            text-align: center;
            line-height: 80px;
            text-decoration: none;
            font-size: 18px;
            color: #fff;
        }
        .nav a:hover{
            background-color: #608dd9;
        }
    </style>
</head>
<body>
    <div class="nav">
        <a href="#">java</a>
        <a href="#">C++</a>
        <a href="#">pyhton</a>
        <a href="#">C语言</a>
    </div>
</body>
</html>